package com.pro.mapper;

import com.pro.pojo.JsActicleCategroy;
import com.pro.pojo.JsSum;

import java.util.List;

/**
 * ClassName:JsActicleCategroyMapper
 * Package:com.pro.mapper
 * Description:
 *
 * @Date:2022/1/7 15:06
 * @Author: ZPT
 */
public interface JsActicleCategroyMapper {
    /**
     *
     * @author ZPT
     * @date 2022/1/7 15:06
     * @content :文章分类数据
     */
    List<JsActicleCategroy> getTree();
    /**
     *
     * @author ZPT
     * @date 2022/1/7 15:44
     * @content :添加文章分类
     */
    Boolean addActicleCategroy(JsActicleCategroy jsActicleCategroy);
    /**
     *
     * @author ZPT
     * @date 2022/1/7 15:44
     * @content :修改文章分类
     */
    Boolean updateActicleCategroy(JsActicleCategroy jsActicleCategroy);
    /**
     *
     * @author ZPT
     * @date 2022/1/7 15:44
     * @content :删除文章分类
     */
    Boolean deleteActicleCategroy(Integer acticleCategroyId);
    /**
     *
     * @author ZPT
     * @date 2022/1/19 16:32
     * @content :微圈点赞、分享、点击量
     */
    List<JsSum> getActicleSum(String field);
    /**
     *
     * @author ZPT
     * @date 2022/1/19 17:03
     * @content :微圈的收藏量
     */
    List<JsSum> getCollectArcticleSum(Integer collectionType);
}
